#include <iostream>

#include "Sedan.h"
#include "Landrover.h"
#include "Dekorator.h"
#include "Klimatyzacja.h"
#include "OponyZimowe.h"
    
int main(int argc, char** argv) {
    Samochod *s1 = new Sedan();
    Samochod *s2 = new Landrover();
    std::cout << *s1 << std::endl;
    std::cout << *s2 << std::endl;
    s1 = new Klimatyzacja(s1);
    std::cout << *s1 << std::endl;
    s2 = new Klimatyzacja(s2);
    s2 = new OponyZimowe(s2);
    std::cout << *s2 << std::endl;
    std::cout << " DELETE s1 (sedan)" << std::endl;
    delete s1;
    std::cout << " DELETE s2 (landrover)" << std::endl;
    delete s2;
    return 0;
}
